﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Reception.aspx.cs" Inherits="Reception" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 130px;
        }
        .style2
        {
            width: 187px;
        }
        .style3
        {
            width: 129px;
        }
        .style5
        {
            width: 79px;
        }
        .style6
        {
            width: 216px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <br />
        <table style="width: 100%;">
            <tr>
                <td class="style1" style="text-align: left">
                    Employee Name :</td>
                <td class="style2" style="text-align: left">
                    <asp:DropDownList ID="DropDownList1" runat="server" Height="22px" Width="165px" 
                        DataSourceID="SqlDataSource2" DataTextField="name" DataValueField="name">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [name] FROM [employee] WHERE ([job] = @job) ORDER BY [name]">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="Reception" Name="job" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
                <td class="style3" style="text-align: left">
                    Date :</td>
                <td class="style6" style="text-align: left">
                    <asp:DropDownList ID="DropDownList5" runat="server" Height="22px" Width="50px">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>26</asp:ListItem>
                        <asp:ListItem>27</asp:ListItem>
                        <asp:ListItem>28</asp:ListItem>
                        <asp:ListItem>29</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>31</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="DropDownList6" runat="server" style="margin-left: 5px" 
                        Width="53px">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="DropDownList4" runat="server" Width="70px" Height="22px">
                        <asp:ListItem>2010</asp:ListItem>
                        <asp:ListItem>2011</asp:ListItem>
                        <asp:ListItem>2012</asp:ListItem>
                        <asp:ListItem>2013</asp:ListItem>
                        <asp:ListItem>2014</asp:ListItem>
                        <asp:ListItem>2015</asp:ListItem>
                        <asp:ListItem>2016</asp:ListItem>
                        <asp:ListItem>2017</asp:ListItem>
                        <asp:ListItem>2018</asp:ListItem>
                        <asp:ListItem>2019</asp:ListItem>
                        <asp:ListItem>2020</asp:ListItem>
                        <asp:ListItem>2021</asp:ListItem>
                        <asp:ListItem>2022</asp:ListItem>
                        <asp:ListItem>2023</asp:ListItem>
                        <asp:ListItem>2024</asp:ListItem>
                        <asp:ListItem>2025</asp:ListItem>
                        <asp:ListItem>2026</asp:ListItem>
                        <asp:ListItem>2027</asp:ListItem>
                        <asp:ListItem>2028</asp:ListItem>
                        <asp:ListItem>2029</asp:ListItem>
                        <asp:ListItem>2030</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style5" style="text-align: left">
                    &nbsp;</td>
                <td style="text-align: left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1" style="text-align: left">
                    Client :</td>
                <td class="style2" style="text-align: left">
                    <asp:Label ID="Label1" runat="server"></asp:Label>
                </td>
                <td class="style3" style="text-align: left">
                    Kind Of Service :</td>
                <td class="style6" style="text-align: left">
                <asp:DropDownList ID="DropDownList2" runat="server" Height="22px" Width="159px" 
                        AutoPostBack="True" onselectedindexchanged="DropDownList2_SelectedIndexChanged">
                    <asp:ListItem>Medical Test</asp:ListItem>
                    <asp:ListItem>Small Surgery</asp:ListItem>
                    <asp:ListItem>CL Seretlization</asp:ListItem>
                    <asp:ListItem>Colored CL Trial</asp:ListItem>
                    <asp:ListItem>Buying</asp:ListItem>
                    <asp:ListItem>Reservation</asp:ListItem>
                </asp:DropDownList>
                </td>
                <td class="style5" style="text-align: left">
                    Doctor :</td>
                <td style="text-align: left">
                    <asp:DropDownList ID="DropDownList3" runat="server" Height="22px" Width="165px" 
                        DataSourceID="SqlDataSource1" DataTextField="name" DataValueField="name">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [name] FROM [employee] WHERE ([job] = @job) ORDER BY [name]">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="Doctor" Name="job" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td class="style1" style="text-align: left">
                    Cost :</td>
                <td class="style2" style="text-align: left">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
                <td class="style3" style="text-align: left">
                    &nbsp;</td>
                <td class="style6" style="text-align: left">
                    <asp:Button ID="Button1" runat="server" Height="35px" Text="OK" 
                        Width="80px" onclick="Button1_Click" />
                </td>
                <td class="style5" style="text-align: left">
                    &nbsp;</td>
                <td style="text-align: left">
                    &nbsp;</td>
            </tr>
        </table>
    </p>
</asp:Content>

